﻿using RemoteDesktopLib;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.ServiceModel;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RemoteDesktopServer
{
    public class Program
    {
        [STAThread()]
        static void Main(string[] args)
        {   
            //Console.WriteLine("Enter IP you want to connect: ");
            //clientIP = Console.ReadLine();
            //EndpointAddress endAddr = new EndpointAddress("http://" + clientIP + ":6971/Rlc/Viewer");
            //BasicHttpBinding binding = new BasicHttpBinding();
            //binding.MessageEncoding = WSMessageEncoding.Mtom;
            //_viewerClient = new ViewerService.ViewerClient(binding, endAddr);

            //_threadScreen = new Thread(new ThreadStart(ScreenThread));
            //_threadScreen.Start();

            //Console.ReadLine();
            //_stop = true;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmLogin());
        }
    }
}
